package com.zxl.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxl.common.model.pojo.SysMember;
import com.zxl.common.model.query.member.MemberListQuery;
import com.zxl.common.model.vo.member.MemberInfoDetailVo;
import com.zxl.common.model.vo.member.MemberListVo;

import java.util.List;

/**
 * <p>
 * 会员信息 Mapper 接口
 * </p>
 *
 * @author zxw
 * @since 2023-03-30
 */
public interface SysMemberMapper extends BaseMapper<SysMember> {

    List<MemberListVo> selectMemberList(MemberListQuery memberListQuery);

    MemberInfoDetailVo selectMemberInfo(Integer userId);

    List<MemberInfoDetailVo> selectMemberByName(String nickName);
}
